// -*- coding: utf-8 -*- 
/**
 * Project: Java8InActionT
 * Creator: yanking
 * Create time: 2022-02-21 15:34
 * IDE: IntelliJ IDEA
 * Introduction:
 */
package com.broClass.Person;

public class Student extends Person {
    public String interesting;

    public Student(Person person) {
        super(person.name, person.age);
    }

    @Override
    public String toString() {
        return "Student{" +
                "interesting='" + interesting + '\'' +
                ", name='" + name + '\'' +
                ", age=" + age +
                '}';
    }
}
